﻿using Domain.Entity.Basic_information;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFCore.Configer.Basic_information
{
    public class Vehicles_mentConfiger : IEntityTypeConfiguration<Vehicles_ment>
    {
        public void Configure(EntityTypeBuilder<Vehicles_ment> builder)
        {
            builder.ToTable(nameof(Vehicles_ment));
            builder.HasKey(e => e.Vc_id);
        }
    }
}
